package com.wuliang.generate.common.core.annotation;


import com.wuliang.generate.common.core.configs.SwaggerConfig;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * 一键开启接口文档
 *
 * @author create by WuLiang
 */
@Documented
@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@Target(value = { java.lang.annotation.ElementType.TYPE })
@ImportAutoConfiguration({ SwaggerConfig.class })
public @interface EnableSwaggerConfig {

    /**
     * @return controller 所在的完全限定包名
     */
    String value() default "";

}
